package io.renren.modules.onlinestudy.service;

import io.renren.modules.onlinestudy.entity.*;
import io.renren.modules.sys.entity.SysDictEntity;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zhubsh
 * @email sd_zhusbh@163.com
 * @date 2018-10-19 09:34:02
 */
public interface XcBmService {
	
	XcBmEntity queryObject(Integer id);
	
	List<XcBmEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(XcBmEntity xcBm);
	
	void update(XcBmEntity xcBm);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    void executeSh(XcBmEntity xcBmEntity);

    String queryXyxxAvatar(XcBmEntity xcBmEntity);

    List<String> queryXyxxImgDate(XcBmEntity xcBmEntity);

    List<XyxxImage> queryXyxxImgs(XyxxImage xyxxImage);

    void updateImgarr(XyxxSh xyxxSh);

    List<XyxxImage> selImgArrs(XcBmEntity xcBmEntity);

    List<SysDictEntity> getStudyAddresss();

    List<StudyStatistics> getGroupStudyStatistics(Map<String,Object> map);

    List<StudyStatistics> getXxtj();

    List<XcVideoEntity> xxVideoList(Map<String, Object> map);

    int queryxxVideoTotal(Map<String, Object> map);

    void deleteVideosBatch(Integer[] ids);

    void xxVideoSave(XcVideoEntity xcVideo) throws IOException;

}
